<?php

class Controller
{
	private $view;
	private $model;
	public function __construct(View $view, Model $model)
	{
		$this->view=$view;
		$this->model=$model;
	} 
	public static function showView(View $view, Model $model)
	{
		$controller=new Controller($view,$model);
		$view=new View_viewTemplate($controller);
		$view->draw();
	}
	public function getView(){return $this->view;}
    public function getModel(){return $this->model;}
	
	
}